$OpenBSD: patch-src_af_xap_xp_xap_Dialog_cpp,v 1.1 2017/05/26 14:51:27 espie Exp $

Index: src/af/xap/xp/xap_Dialog.cpp
--- src/af/xap/xp/xap_Dialog.cpp.orig
+++ src/af/xap/xp/xap_Dialog.cpp
@@ -267,7 +267,7 @@ XAP_Dialog_Modeless::BuildWindowName(char * pWindowNam
 // This function constructs and returns the window name of a modeless dialog by
 // concatenating the active frame with the dialog name
 
-	*pWindowName = (char) NULL;
+	*pWindowName = 0;
 	UT_UTF8String wn = UT_UTF8String(pDialogName);
 
 	XAP_Frame* pFrame = getActiveFrame();
